﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Proyecta.Data.Helpers
{
    public class SelectQueryJoin : QueryJoin
    {
        internal SelectQueryJoin(SelectQuery query) : base(query)
        {
            
        }

        public SelectQuery On(params QueryCondition[] condiciones)
        {
            return (SelectQuery)base.On(condiciones);
        }

        public SelectQuery On(string exp1, CompareOperator comparacion, string exp2)
        {
            return (SelectQuery)base.On(exp1, comparacion, exp2);
        }

        public SelectQuery On(bool negar, string exp1, CompareOperator comparacion, string exp2)
        {
            return (SelectQuery)base.On(negar, exp1, comparacion, exp2);
        }

        public SelectQuery On(LogicOperator operador, string exp1, CompareOperator comparacion, string exp2)
        {
            return (SelectQuery)base.On(operador, exp1, comparacion, exp2);
        }

        public SelectQuery On(LogicOperator operador, bool negar, string exp1, CompareOperator comparacion, string exp2)
        {
            return (SelectQuery)base.On(operador, negar, exp1, comparacion, exp2);
        }

        public void Generate(StringBuilder sql)
        {
            base.Generate(sql);
        }
    }
}